package com.oa.modules.approvalsec1.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.oa.modules.approvalsec1.entity.AppointmentMatterEntity;
import com.oa.modules.approvalsec1.entity.ArchivesEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author: Hankaicheng
 * @Date: 2022/3/25 10:28
 */
@Mapper
public interface ArchivesDao extends BaseMapper<ArchivesEntity> {

    List<ArchivesEntity> list(IPage<AppointmentMatterEntity> page,@Param("params") Map<String, Object> params );

    Long listCount(@Param("params") Map<String, Object> params);

    Long count(@Param("id") String id);

    List<ArchivesEntity> queryAll(String id);
}
